<tr>
	<td class="info"></td>
	<td class="title">
		<?php echo CHtml::link(CHtml::encode($data->details->title),
				Yii::app()->createUrl('/adv/ad/',array('ad_id'=>$data->id)),
				array('class'=>'black'));?>
	</td>
	<td class="status">
		<div style="position:relative">
			<?php 
			if(Ad::STATUS_ACTIVE == $data->status){
				$src = '/img/ads/active.gif';
			}else if(Ad::STATUS_PENDING == $data->status){
				$src = '/img/ads/pending.gif';
			}else if(Ad::STATUS_PAUSED == $data->status){
				$src = '/img/ads/paused.gif';
			}else if(Ad::STATUS_STOPPED == $data->status){
				$src = '/img/ads/stopped.gif';
			}
			$img = CHtml::image($src,null,array('class'=>'ad_status_em'));
			echo CHtml::tag('a',array('class'=>'ad_status_edit','href'=>Yii::app()->createUrl('/adv/ad_status_edit/',array('ad_id'=>$data->id))),$img);
			?>
		</div>
	</td>
	<td><?=number_format($data->details->cpuv,2)?></td>
	<td></td>
	<td><?=$data->clicks?></td>
	<td>0.000%</td>
	<td><?=$data->uv?></td>
	<td><?=number_format($data->uv * $data->details->cpuv,2) ?></td>
	<td class="date"><?=date_format(date_create($data->date),'Y-m-d')?></td>
</tr>